<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>layout 后台大布局 - Layui</title>
    <link rel="stylesheet" href="../lib/layui/css/layui.css">
	<!--<link rel="stylesheet" href="../lib/css/global.css">-->
	<style>
        iframe {
            margin:0;
			padding:0;
			height:100%;
			width:100%;
			right:0px;
			border:solid 0px red;
        }
    </style>
</head>

<body>
    <div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    <div class="layui-logo">layui 后台布局</div>
    <!-- 头部区域（可配合layui已有的水平导航） -->
    <ul class="layui-nav layui-layout-left">
      <li class="layui-nav-item"><a href="">控制台</a></li>
      <li class="layui-nav-item"><a href="">商品管理</a></li>
      <li class="layui-nav-item"><a href="">用户</a></li>
      <li class="layui-nav-item">
        <a href="javascript:;">其它系统</a>
        <dl class="layui-nav-child">
          <dd><a href="">邮件管理</a></dd>
          <dd><a href="">消息管理</a></dd>
          <dd><a href="">授权管理</a></dd>
        </dl>
      </li>
    </ul>
    <ul class="layui-nav layui-layout-right">
      <li class="layui-nav-item">
        <a href="javascript:;">
          <img src="http://t.cn/RCzsdCq" class="layui-nav-img">
          贤心
        </a>
        <dl class="layui-nav-child">
          <dd><a href="">基本资料</a></dd>
          <dd><a href="">安全设置</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item"><a href="">退了</a></li>
    </ul>
  </div>
  
  <div class="layui-side layui-bg-black">
    <div class="layui-side-scroll" id="menuview">
      <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
      <!--<ul class="layui-nav layui-nav-tree"  lay-filter="test">
        <li class="layui-nav-item layui-nav-itemed">
          <a class="" href="javascript:;">所有商品</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">列表一</a></dd>
            <dd><a href="javascript:;">列表二</a></dd>
            <dd><a href="javascript:;">列表三</a></dd>
            <dd><a href="">超链接</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item">
          <a href="javascript:;">解决方案</a>
          <dl class="layui-nav-child">
            <dd><a href="javascript:;">列表一</a></dd>
            <dd><a href="javascript:;">列表二</a></dd>
            <dd><a href="">超链接</a></dd>
          </dl>
        </li>
        <li class="layui-nav-item"><a href="">云市场</a></li>
        <li class="layui-nav-item"><a href="">发布商品</a></li>
      </ul>-->
    </div>
  </div>
  
  <div class="layui-body">
    <!-- 内容主体区域 -->
    <div class="layui-tab layui-tab-brief" lay-filter="bodyTabBrief" lay-allowClose="true">
	  <ul class="layui-tab-title">
		<li class="layui-this">网站设置</li>
	  </ul>
	  <div class="layui-tab-content">
		<div class="layui-tab-item layui-show">
			<iframe src="body.html" ></iframe>
		</div>
	  </div>
	</div>
  </div>
  
  <div class="layui-footer">
    <!-- 底部固定区域 -->
    © layui.com - 底部固定区域
  </div>
</div>
    <script src="../lib/layui/layui.js"></script>
	<script src="../lib/js/main.js"></script>
	<script id="menunav" type="text/html">
	  <ul class="layui-nav layui-nav-tree"  lay-filter="test">
	  {{#  layui.each(d, function(index, item){ }}
		{{#  if (typeof(item.children) == "undefined"){  }}
			<li class="layui-nav-item"><a href="">{{ item.title }}</a></li>
		{{#	}else{  }}
			<li class="layui-nav-item layui-nav-itemed">
				<a class="" href="javascript:;">{{ item.title }}</a>
				<dl class="layui-nav-child">
				{{#  layui.each(item.children, function(c_index, c_item){ }}
					<dd><a href="javascript:;">{{ c_item.title }}</a></dd>
				{{#  }); }}
			  </dl>
			</li>
		{{#	}  }}
		}}</a></li>
	  {{#  }); }}
	  {{#  if(d.length === 0){ }}
		无数据
	  {{#  } }} 
	  </ul>
</script>
</body>

</html>